package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * @author ZLJ
 * @date 2025/10/8 13:36
 * @Description
 */
@SuppressWarnings("all")
public interface RoleService {
    void addRole(Role role);

    Role getById(Integer id);

    void update(Role role);

    void deleteById(Integer id);

    PageResult<Role> page(String name, Integer page, Integer pageSize);

    List<Role> selectAll();
}
